package com.springIOC.Pointcut;

import com.springIOC.bean.Bean5;
import com.springIOC.bean.Bean6;
import org.springframework.aop.ClassFilter;

/**
 * Created by 41579 on 2017/1/13.
 */
public class MyClassFilter1 implements ClassFilter{
    public boolean matches(Class<?> clazz) {
        return clazz.getName().equals(Bean6.class.getName());
    }
}
